package com.infoland.afanmall.model.miaoSha.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.LinearLayout;

import com.infoland.afanmall.R;
import com.infoland.afanmall.base.util.StatusBarKit;
import com.lzy.okgo.OkGo;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author 王永吉
 * @date 2018/7/18 13:57
 * 秒杀商品详情
 */
public class MiaoShaGoodInfoActivity extends AppCompatActivity {
    @BindView(R.id.title_layout)
    LinearLayout titleLayout;

    private int getLayout() {
        return R.layout.miao_sha_activity;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayout());
        ButterKnife.bind(this);
        StatusBarKit.immersiveBlackTitleText(this, titleLayout);
    }

    @Override
    protected void onDestroy() {
        OkGo.getInstance().cancelTag(this);
        super.onDestroy();
    }

}
